package org.jeecg.common.util.changeLog;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

public class Entity {
    private int id;
    @ApiModelProperty("姓名")
    private String name;
    private double value;
    private Date date;
    @ApiModelProperty("集合")
    private List<String> stringList;
    @ApiModelProperty("其他对象")
    private OtherObject otherObject;

    // 构造函数
    public Entity(int id, String name, double value, Date date, List<String> stringList, OtherObject otherObject) {
        this.id = id;
        this.name = name;
        this.value = value;
        this.date = date;
        this.stringList = stringList;
        this.otherObject = otherObject;
    }

    // Getter 和 Setter 方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public List<String> getStringList() {
        return stringList;
    }

    public void setStringList(List<String> stringList) {
        this.stringList = stringList;
    }

    public OtherObject getOtherObject() {
        return otherObject;
    }

    public void setOtherObject(OtherObject otherObject) {
        this.otherObject = otherObject;
    }
}


